package com.frank.oj.service.msg;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.frank.oj.common.result.CommonResult;
import com.frank.oj.model.vo.UserMsgVO;
import com.frank.oj.model.vo.UserUnreadMsgCountVO;
import org.springframework.stereotype.Component;

/**
 * @author frank
 * @Date 2024/1/25
 */

public interface UserMessageService {
    CommonResult<UserUnreadMsgCountVO> getUnreadMsgCount();

    CommonResult<IPage<UserMsgVO>> getLikeMsg(Integer limit, Integer currentPage);

    CommonResult<IPage<UserMsgVO>> getCommentMsg(Integer limit, Integer currentPage);

    CommonResult<IPage<UserMsgVO>> getReplyMsg(Integer limit, Integer currentPage);

    CommonResult<Void> cleanMsg(String type, Long id);
}
